package com.yeyks.hotel.dal.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeyks.hotel.dal.domain.HotelWithdrawalOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 酒店房费提现订单表 Mapper 接口
 *
 * @author shuai
 * @date 2019-07-08
 */
public interface HotelWithdrawalOrderMapper extends BaseMapper<HotelWithdrawalOrder> {

    List<HotelWithdrawalOrder> myList(Map<String, Object> map);

    List<HotelWithdrawalOrder> myC2bHotelList(Map<String, Object> map);

    List<HotelWithdrawalOrder> myC2bAgentList(Map<String, Object> map);

    List<HotelWithdrawalOrder> selectThisWeek(@Param("operationUserId") Integer operationUserId,
                                              @Param("accountType") Integer accountType,
                                              @Param("status") Integer status,
                                              @Param("orderType") Integer orderType);

    List<HotelWithdrawalOrder> selectTodayOrder(@Param("operationUserId") Integer operationUserId,
                                              @Param("accountType") Integer accountType,
                                              @Param("status") Integer status,
                                              @Param("orderType") Integer orderType);

    List<HotelWithdrawalOrder> selectOrderDownload(Map<String, Object> map);
}
